export class ApiResponse {
    status: number;
    message: string;
    data: { [key: string]: object };
    txResponse: object;
    callback: string;

    constructor(status: number, message: string, data?: { [key: string]: object }, txResponse?: object, callback?: string) {
        this.status = status;
        this.message = message;
        this.data = data || {};
        this.txResponse = txResponse || {};
        this.callback = callback || '';
    }
}
